Optimal. Leaf size=93 \[ \frac {7}{9} \sqrt {1-2 x} (3+5 x)^2-\frac {\sqrt {1-2 x} (3+5 x)^3}{3 (2+3 x)}-\frac {2}{81} \sqrt {1-2 x} (211+170 x)-\frac {212 \tanh ^{-1}\left (\sqrt {\frac {3}{7}} \sqrt {1-2 x}\right )}{81 \sqrt {21}} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.02, antiderivative size = 93, normalized size of antiderivative = 1.00, number of steps
used = 5, number of rules used = 5, integrand size = 24, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.208, Rules used = {99, 158, 152,
65, 212} \begin {gather*} -\frac {\sqrt {1-2 x} (5 x+3)^3}{3 (3 x+2)}+\frac {7}{9} \sqrt {1-2 x} (5 x+3)^2-\frac {2}{81} \sqrt {1-2 x} (170 x+211)-\frac {212 \tanh ^{-1}\left (\sqrt {\frac {3}{7}} \sqrt {1-2 x}\right )}{81 \sqrt {21}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 65
Rule 99
Rule 152
Rule 158
Rule 212
Rubi steps
\begin {align*} \int \frac {\sqrt {1-2 x} (3+5 x)^3}{(2+3 x)^2} \, dx &=-\frac {\sqrt {1-2 x} (3+5 x)^3}{3 (2+3 x)}+\frac {1}{3} \int \frac {(12-35 x) (3+5 x)^2}{\sqrt {1-2 x} (2+3 x)} \, dx\\ &=\frac {7}{9} \sqrt {1-2 x} (3+5 x)^2-\frac {\sqrt {1-2 x} (3+5 x)^3}{3 (2+3 x)}-\frac {1}{45} \int \frac {(-50-340 x) (3+5 x)}{\sqrt {1-2 x} (2+3 x)} \, dx\\ &=\frac {7}{9} \sqrt {1-2 x} (3+5 x)^2-\frac {\sqrt {1-2 x} (3+5 x)^3}{3 (2+3 x)}-\frac {2}{81} \sqrt {1-2 x} (211+170 x)+\frac {106}{81} \int \frac {1}{\sqrt {1-2 x} (2+3 x)} \, dx\\ &=\frac {7}{9} \sqrt {1-2 x} (3+5 x)^2-\frac {\sqrt {1-2 x} (3+5 x)^3}{3 (2+3 x)}-\frac {2}{81} \sqrt {1-2 x} (211+170 x)-\frac {106}{81} \text {Subst}\left (\int \frac {1}{\frac {7}{2}-\frac {3 x^2}{2}} \, dx,x,\sqrt {1-2 x}\right )\\ &=\frac {7}{9} \sqrt {1-2 x} (3+5 x)^2-\frac {\sqrt {1-2 x} (3+5 x)^3}{3 (2+3 x)}-\frac {2}{81} \sqrt {1-2 x} (211+170 x)-\frac {212 \tanh ^{-1}\left (\sqrt {\frac {3}{7}} \sqrt {1-2 x}\right )}{81 \sqrt {21}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.11, size = 63, normalized size = 0.68 \begin {gather*} \frac {\sqrt {1-2 x} \left (-439-110 x+1725 x^2+1350 x^3\right )}{81 (2+3 x)}-\frac {212 \tanh ^{-1}\left (\sqrt {\frac {3}{7}} \sqrt {1-2 x}\right )}{81 \sqrt {21}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.11, size = 63, normalized size = 0.68
method | result | size |
risch | \(-\frac {2700 x^{4}+2100 x^{3}-1945 x^{2}-768 x +439}{81 \left (2+3 x \right ) \sqrt {1-2 x}}-\frac {212 \arctanh \left (\frac {\sqrt {21}\, \sqrt {1-2 x}}{7}\right ) \sqrt {21}}{1701}\) | \(56\) |
derivativedivides | \(\frac {25 \left (1-2 x \right )^{\frac {5}{2}}}{18}-\frac {725 \left (1-2 x \right )^{\frac {3}{2}}}{162}+\frac {10 \sqrt {1-2 x}}{27}-\frac {2 \sqrt {1-2 x}}{243 \left (-\frac {4}{3}-2 x \right )}-\frac {212 \arctanh \left (\frac {\sqrt {21}\, \sqrt {1-2 x}}{7}\right ) \sqrt {21}}{1701}\) | \(63\) |
default | \(\frac {25 \left (1-2 x \right )^{\frac {5}{2}}}{18}-\frac {725 \left (1-2 x \right )^{\frac {3}{2}}}{162}+\frac {10 \sqrt {1-2 x}}{27}-\frac {2 \sqrt {1-2 x}}{243 \left (-\frac {4}{3}-2 x \right )}-\frac {212 \arctanh \left (\frac {\sqrt {21}\, \sqrt {1-2 x}}{7}\right ) \sqrt {21}}{1701}\) | \(63\) |
trager | \(\frac {\left (1350 x^{3}+1725 x^{2}-110 x -439\right ) \sqrt {1-2 x}}{162+243 x}-\frac {106 \RootOf \left (\textit {\_Z}^{2}-21\right ) \ln \left (\frac {-3 \RootOf \left (\textit {\_Z}^{2}-21\right ) x +21 \sqrt {1-2 x}+5 \RootOf \left (\textit {\_Z}^{2}-21\right )}{2+3 x}\right )}{1701}\) | \(77\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.50, size = 80, normalized size = 0.86 \begin {gather*} \frac {25}{18} \, {\left (-2 \, x + 1\right )}^{\frac {5}{2}} - \frac {725}{162} \, {\left (-2 \, x + 1\right )}^{\frac {3}{2}} + \frac {106}{1701} \, \sqrt {21} \log \left (-\frac {\sqrt {21} - 3 \, \sqrt {-2 \, x + 1}}{\sqrt {21} + 3 \, \sqrt {-2 \, x + 1}}\right ) + \frac {10}{27} \, \sqrt {-2 \, x + 1} + \frac {\sqrt {-2 \, x + 1}}{81 \, {\left (3 \, x + 2\right )}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 0.98, size = 69, normalized size = 0.74 \begin {gather*} \frac {106 \, \sqrt {21} {\left (3 \, x + 2\right )} \log \left (\frac {3 \, x + \sqrt {21} \sqrt {-2 \, x + 1} - 5}{3 \, x + 2}\right ) + 21 \, {\left (1350 \, x^{3} + 1725 \, x^{2} - 110 \, x - 439\right )} \sqrt {-2 \, x + 1}}{1701 \, {\left (3 \, x + 2\right )}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A]
time = 62.74, size = 216, normalized size = 2.32 \begin {gather*} \frac {25 \left (1 - 2 x\right )^{\frac {5}{2}}}{18} - \frac {725 \left (1 - 2 x\right )^{\frac {3}{2}}}{162} + \frac {10 \sqrt {1 - 2 x}}{27} + \frac {28 \left (\begin {cases} \frac {\sqrt {21} \left (- \frac {\log {\left (\frac {\sqrt {21} \sqrt {1 - 2 x}}{7} - 1 \right )}}{4} + \frac {\log {\left (\frac {\sqrt {21} \sqrt {1 - 2 x}}{7} + 1 \right )}}{4} - \frac {1}{4 \left (\frac {\sqrt {21} \sqrt {1 - 2 x}}{7} + 1\right )} - \frac {1}{4 \left (\frac {\sqrt {21} \sqrt {1 - 2 x}}{7} - 1\right )}\right )}{147} & \text {for}\: \sqrt {1 - 2 x} > - \frac {\sqrt {21}}{3} \wedge \sqrt {1 - 2 x} < \frac {\sqrt {21}}{3} \end {cases}\right )}{81} + \frac {214 \left (\begin {cases} - \frac {\sqrt {21} \operatorname {acoth}{\left (\frac {\sqrt {21} \sqrt {1 - 2 x}}{7} \right )}}{21} & \text {for}\: x < - \frac {2}{3} \\- \frac {\sqrt {21} \operatorname {atanh}{\left (\frac {\sqrt {21} \sqrt {1 - 2 x}}{7} \right )}}{21} & \text {for}\: x > - \frac {2}{3} \end {cases}\right )}{81} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 1.66, size = 90, normalized size = 0.97 \begin {gather*} \frac {25}{18} \, {\left (2 \, x - 1\right )}^{2} \sqrt {-2 \, x + 1} - \frac {725}{162} \, {\left (-2 \, x + 1\right )}^{\frac {3}{2}} + \frac {106}{1701} \, \sqrt {21} \log \left (\frac {{\left | -2 \, \sqrt {21} + 6 \, \sqrt {-2 \, x + 1} \right |}}{2 \, {\left (\sqrt {21} + 3 \, \sqrt {-2 \, x + 1}\right )}}\right ) + \frac {10}{27} \, \sqrt {-2 \, x + 1} + \frac {\sqrt {-2 \, x + 1}}{81 \, {\left (3 \, x + 2\right )}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 0.05, size = 64, normalized size = 0.69 \begin {gather*} \frac {2\,\sqrt {1-2\,x}}{243\,\left (2\,x+\frac {4}{3}\right )}+\frac {10\,\sqrt {1-2\,x}}{27}-\frac {725\,{\left (1-2\,x\right )}^{3/2}}{162}+\frac {25\,{\left (1-2\,x\right )}^{5/2}}{18}+\frac {\sqrt {21}\,\mathrm {atan}\left (\frac {\sqrt {21}\,\sqrt {1-2\,x}\,1{}\mathrm {i}}{7}\right )\,212{}\mathrm {i}}{1701} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________